package com.cspg.ssss.repository;

import com.cspg.ssss.domain.GsdgdwjdTemporaryEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface GsdgdwjdTemporaryMapper {
    int insert(GsdgdwjdTemporaryEntity record);

    List<GsdgdwjdTemporaryEntity> selectDataById(String id);//根据id单条查询

    List<GsdgdwjdTemporaryEntity> selectAll(String id);//查询全部数据

    int batchInsert(@Param("list")List<GsdgdwjdTemporaryEntity> list);//批量插入

    int updateData(GsdgdwjdTemporaryEntity record);//更新

    int deleteData(@Param("id")String  id);//删除

    GsdgdwjdTemporaryEntity selectDataId(String id);
    int insertSelective(GsdgdwjdTemporaryEntity record);
    int deleteByList(@Param("list") List<GsdgdwjdTemporaryEntity> list);
}